package com.sdp.wx.db.wx_wz_arrival_detail.service.impl;

import com.sdp.wx.db.wx_wz_arrival_detail.entity.WxWzArrivalDetail;
import com.sdp.wx.db.wx_wz_arrival_detail.mapper.WxWzArrivalDetailMapper;
import com.sdp.wx.db.wx_wz_arrival_detail.service.IWxWzArrivalDetailService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zsp
 * @since 2024-01-25
 */
@Service
public class WxWzArrivalDetailServiceImpl extends ServiceImpl<WxWzArrivalDetailMapper, WxWzArrivalDetail> implements IWxWzArrivalDetailService {

	@Override
	public List<WxWzArrivalDetail> queryWxWzArrivalDetailByCode(String arrivalCode) {
		LambdaQueryWrapper<WxWzArrivalDetail> queryWrapper = new LambdaQueryWrapper<>();
		queryWrapper.eq(WxWzArrivalDetail::getArrivalCode, arrivalCode);
		return list(queryWrapper);
	}

}
